package controller;

import gui.ApplicationFrame;

public class Controller{
	
	static ApplicationFrame ui;
	
	public static void init(ApplicationFrame ui) {
		Controller.ui = ui;
	}

	public static void stop() {
		System.exit(0);		
	}

	public static void setStatustextForWhitePlayer(String messageForWhitePlayer) {
			((ApplicationFrame)ui).setStatustextForWhitePlayer(messageForWhitePlayer);
	}

	public static void setStatustextForBlackPlayer(String messageForBlackPlayer) {
		((ApplicationFrame)ui).setStatustextForBlackPlayer(messageForBlackPlayer);
	}


}
